
module.exports = [
  {
    url: '/operationMap/editCommunity',
    type: 'put',
    response: _ => {
      return {
        state_code: 1000,
        state_desc: '成功'
      }
    }
  },
  {
    url: '/operationMap/editBuildings',
    type: 'put',
    response: _ => {
      return {
        state_code: 1000,
        state_desc: '成功'
      }
    }
  },
  {
    url: '/operationMap/editUnits',
    type: 'put',
    response: _ => {
      return {
        state_code: 1000,
        state_desc: '成功'
      }
    }
  },
  {
    url: '/operationMap/queryMaxDate',
    type: 'get',
    response: _ => {
      return {
        state_code: 1000,
        state_desc: '20250602'
      }
    }
  },
  {
    url: '/operationMap/communityInfo',
    type: 'get',
    response: _ => {
      return {
        state_code: 1000,
        res: {
          communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区',
          communityCode: '05151886',
          communityIndexObj: {
            sfxxq: "是"
          },
          areaDistrict: "",
          buildList: [
            { latitude: 45.808191, longitude: 126.521914, title: '点1', id: '001' },
            { latitude: 45.81049308616076, longitude: 126.52912979132033, title: '点2', id: '002' }
          ],
          unitList: [
            { latitude: 45.808191, longitude: 126.523914, unitName: '1单元', id: '001' },
            { latitude: 45.808191, longitude: 126.524914, unitName: '2单元', id: '001' },
          ]
        }
      }
    }
  },
  {
    url: '/geo/get/xy',
    type: 'get',
    response: _ => {
      return {
        "code": 0,
        "data": {
          "list": [
            {
              "adcode": "230109",
              "city": "哈尔滨市",
              "citycode": "2301",
              "country": "中国",
              "district": "松北区",
              "formatted_address": "黑龙江省哈尔滨市松北区北岸明珠",
              "level": "GL_POI",
              "location": "126.548664,45.805331",
              "number": "",
              "province": "黑龙江省",
              "street": ""
            }
          ]
        },
        "infocode": "10000",
        "message": "OK",
        "status": "1"
      }
    }
  },
  {
    url: '/query/place/text',
    type: 'get',
    response: _ => {
      return {
        code: 0,
        pois: [
          {
            "pcode": "230000",
            "pname": "黑龙江省",
            "citycode": "230100",
            "cityname": "哈尔滨市",
            "adcode": "230109",
            "adname": "松北区",
            "towncode": "230109005000",
            "townname": "松安街道",
            "villagecode": "230109005006",
            "villagename": "北岸明珠社区",
            "roadcode": "BzFAS500HJ",
            "roadname": "新湾路",
            "roadno": "",
            "id": "BOFFFALVZD",
            "name": "北岸明珠",
            "alias": "北岸明珠(新湾路): 新湾路北岸明珠",
            "address": "世茂大道776号",
            "location": "126.548664,45.805331",
            "typecode": "",
            "type": "商务住宅; 住宅区; 住宅小区",
            "brand": "明珠"
          }
        ]
      }
    }
  },
  {
    url: '/operationMap/orgOptions',
    type: 'get',
    response: _ => {
      return {
        state_code: 1000,
        res: [{
          orgId: '2301',
          name: '哈尔滨市‌'
        }, {
          orgId: '2302',
          name: '齐齐哈尔市'
        }, {
          orgId: '2303',
          name: '牡丹江市'
        }]
      }
    }
  },
  {
    url: '/operationMap/locationByKeywords',
    type: 'get',
    response: _ => {
      return {
        state_code: 1000,
        res: {
          community: [
            [[[126.5264, 45.811205], [126.526501, 45.809548], [126.530557, 45.809778], [126.53047, 45.811343], [126.53047, 45.811343], [126.5264, 45.811205]]],
            [[[126.519443, 45.808689], [126.519097, 45.808728], [126.517397, 45.808291], [126.518336, 45.806708], [126.518783, 45.806623], [126.525639, 45.808275], [126.526064, 45.808728], [126.526019, 45.809749], [126.520945, 45.810515], [126.519557, 45.810155], [126.519979, 45.80926], [126.51966, 45.809018], [126.519443, 45.808689]]]
          ],
          buildings: [
            { lat: 45.808191, lng: 126.521914, title: '点1', id: '001' },
            { lng: 126.52912979132033, lat: 45.81049308616076, title: '点2', id: '002' }
          ],
          units: []
        }
      }
    }
  },
  {
    url: '/getCity',
    type: 'post',
    response: _ => {
      return {
        code: 0,
        data: [{
          value: '1002',
          label: '哈尔滨市‌'
        }, {
          value: '1003',
          label: '齐齐哈尔市'
        }, {
          value: '1004',
          label: '牡丹江市'
        }, {
          value: '1005',
          label: '佳木斯市'
        }, {
          value: '1006',
          label: '大庆市'
        }, {
          value: '1007',
          label: '伊春市‌'
        }, {
          value: '1008',
          label: '鸡西市‌'
        }, {
          value: '1009',
          label: '鹤岗市‌'
        }, {
          value: '1010',
          label: '双鸭山市'
        }, {
          value: '1011',
          label: '‌七台河市‌'
        }, {
          value: '1012',
          label: '绥化市‌'
        }, {
          value: '1013',
          label: '黑河市‌'
        }, {
          value: '1014',
          label: '大兴安岭'
        }]
      }
    }
  }, {
    url: '/getDistrict',
    type: 'post',
    response: _ => {
      return {
        state_code: 1000,
        res: [{
          orgId: '230108',
          name: '松北区‌'
        },
        {
          orgId: '1002',
          name: '南岗区‌'
        }]
      }
    }
  }, {
    url: '/getGrid',
    type: 'post',
    response: _ => {
      return {
        state_code: 1000,
        res: [{
          orgId: '1001',
          name: '松浦网格'
        }, {
          orgId: '23010801',
          name: '世贸网格'
        }]
      }
    }
  }, {
    url: '/getList',
    type: 'post',
    response: _ => {
      return {
        code: 0,
        data: [
          { name: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利水韵长滩', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利水韵长滩', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利·上城', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利·上城', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利·上城', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利水韵长滩', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利水韵长滩', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利水韵长滩', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利·上城', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利·上城', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
          { name: '保利·上城', address: '黑龙江省哈尔滨市松北区', distance: '3.1' },
        ]
      }
    }
  }, {
    url: '/operationMap/communityPageList',
    type: 'get',
    response: _ => {
      return {
        state_code: '1000',
        res: {
          total: 100,
          list: [
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id001', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' },
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id002', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' },
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id003', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' },
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id004', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' },
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id005', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' },
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id001', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' },
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id005', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' },
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id001', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' },
            { communityName: '哈尔滨市|松北区|世茂大道|世纪花园B区', address: '祥安南大街1688号', communityCode: 'id001', cityName: '哈尔滨市', countyName: '松北区', gridName: '世茂网格', distance: '3.1', centerLng: '126.521707', centerLat: '45.80877' }
          ]
        }
      }
    }
  }, {
    url: '/operationMap/fiberConverterPageList',
    type: 'get',
    response: _ => {
      return {
        state_code: '1000',
        "res": {
          total: 78,
          "list|4": [
            {
              address: '黑龙江省|哈尔滨|松北区|松北街道|世茂大道|世茂大道776号|北岸明珠小区|201号楼|2单元I17层',
              children: [{
                content: '1701扩容:哈尔滨-松北区-北岸明珠小区-POS051-POS003-1:6'
              }, {
                content: '1701扩容:哈尔滨-松北区-北岸明珠小区-POS051-POS003-1:2'
              }, {
                content: '1701扩容:哈尔滨-松北区-北岸明珠小区-POS051-POS003-1:3'
              }, {
                content: '1701扩容:哈尔滨-松北区-北岸明珠小区-POS051-POS003-1:8'
              }]
            }
          ]
        }
      }
    }
  }
]

